package cn.tedu.bonfire.front.payment.dao.persist.repository;

import cn.tedu.bonfire.front.payment.pojo.entity.User;
import cn.tedu.bonfire.front.payment.pojo.entity.Withdrawal;

import java.math.BigDecimal;
import java.util.List;

public interface IUserRepository {

    int updateDalance(User user);
    Long selectAuthorId(Long articleId);

    Integer selectExpiration(Long userId);

    List<Long> selectAllExpirationGreaterThanZero();


    int updateWithdrawal(Withdrawal withdrawal);
}
